using System;
using UnityEngine;

[Serializable]
public class trgchangerarcade : MonoBehaviour
{
	public SmoothFollowArcade cam;

	public void Start()
	{
		if (UnityEngine.SceneManagement.SceneManager.GetActiveScene().name.Contains("MP"))
		{
			cam = (((SmoothFollowArcade)GameObject.Find("Main Camera").GetComponent(typeof(SmoothFollowArcade))) as SmoothFollowArcade);
		}
	}

	public void OnTriggerEnter(Collider other)
	{
		cam.targetpos = other.transform;
	}

	public void Main()
	{
	}
}
